Troubleshooting Guide
Common issues and their solutions when working with Example Component Library.
Build Issues
Gradle Build Fails
Symptoms
./gradlew build
fails- Missing dependency errors
- Compilation errors
Solutions
-
Check Java version:
java -version # Should be Java 17
-
Update Gradle wrapper:
./gradlew wrapper --gradle-version=7.6
-
Clean and rebuild:
./gradlew clean build
NPM Build Issues
Symptoms
npm install
fails- Webpack errors
- Missing dependencies
Solutions
-
Clear npm cache:
npm cache clean --force
-
Delete node_modules:
rm -rf node_modules
npm install
IDE Issues
VS Code Java Problems
Symptoms
- Missing Java imports
- Red squiggles under valid code
- Intellisense not working
Solutions
-
Regenerate project files:
./gradlew clean eclipse
-
In VS Code:
Cmd/Ctrl + Shift + P
- Type "Java: Clean Language Server Workspace"
- Select "Restart and delete"
TypeScript Errors
Symptoms
- TypeScript compilation errors
- Missing type definitions
Solutions
-
Check TypeScript version:
npm list typescript
-
Update TypeScript:
npm install --save-dev typescript@latest
Docker Issues
Container Won't Start
Symptoms
docker-compose up
fails- Port conflicts
- Permission issues
Solutions
-
Check for port conflicts:
lsof -i :8088
-
Stop conflicting services:
docker-compose down
docker system prune
Still Need Help?
- Check our GitHub Issues
- Create a new issue